part of '../../store.dart';

class _RecordSavingStoreIsolateTask extends Equatable implements _StoreIsolateTask {
  const _RecordSavingStoreIsolateTask({
    required this.id,
    required this.key,
    required this.value,
  });

  @override
  final String id;

  final String key;
  final dynamic value;

  @override
  List<Object?> get props {
    return [
      id,
      key,
      value,
    ];
  }
}

class _RecordSavingStoreIsolateTaskResult extends Equatable implements _StoreIsolateTaskResult {
  const _RecordSavingStoreIsolateTaskResult({
    required this.taskId,
  });

  @override
  final String taskId;

  @override
  List<Object> get props {
    return [
      taskId,
    ];
  }
}